function [ b2c ] = r2m ( msg_rx )
% Function to convert msg_rx in numbers ranging from 0 to 255, to be used
% for rs decoding. 
% Detailed explanation goes here

len = length(msg_rx);
    for i = 0:(len/8)-1
        b2c(i+1) = bi2de(msg_rx(i*8+1:(i*8)+8),'left-msb');
    end    
end